package com.yxw.yx_hotel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import java.io.Serializable;


/** 
 * @author liuxin
 * @create 2024-01-18 15:20:55 
 * @description null 
 */
@Data
@TableName(value ="yx_room_fee")
@ApiModel(value = "null" , description="yx_room_fee")
public class YxRoomFeeEntity  implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value="fee_id",type = IdType.INPUT)
    @ApiModelProperty(value="费用ID")
    private Long feeId;

    @TableField(value="room_id")
    @ApiModelProperty(value="宿舍ID")
    private Long roomId;

    @TableField(value="room_name")
    @ApiModelProperty(value="宿舍名称")
    private String roomName;

    @TableField(value="month")
    @ApiModelProperty(value="月份")
    private String month;

    @TableField(value="note")
    @ApiModelProperty(value="费用内容")
    private String note;

    @TableField(value="money")
    @ApiModelProperty(value="费用金额")
    private Double money;

    @TableField(value="create_id")
    @ApiModelProperty(value="创建人ID")
    private Long createId;

    @TableField(value="create_name")
    @ApiModelProperty(value="创建人名称")
    private String createName;

    @TableField(value="create_time")
    @ApiModelProperty(value="创建时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @TableField(value="tenant_id")
    @ApiModelProperty(value="租户ID")
    private Long tenantId;

    @TableField(value="update_id")
    @ApiModelProperty(value="更新人ID")
    private Long updateId;

    @TableField(value="update_name")
    @ApiModelProperty(value="更新人名称")
    private String updateName;

    @TableField(value="update_time")
    @ApiModelProperty(value="更新时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
